<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>样机盘点财务异常清单</title>
		<link rel="stylesheet" href="css/reset.css" />
        <link rel="stylesheet" href="css/platform.css" />
        <link rel="stylesheet" href="css/table.css" />
        <link rel="stylesheet" href="js/magicsuggest-min.css" />
        <link rel="stylesheet" href="css/property.css" />
	</head>
	<body>
		<div class="header">
            <div class="u-title">样机盘点财务异常清单</div>
        </div>
        <div class="saleexpt-manage" ms-controller="mainController">
            <div class="u-multiform search-param">
            <div class="column">
				<div class="cell">
					<label><span>*</span>大区：</label>
					<div class="cnt-box">
						<input id="magicRegion" style="width: 250px;" type="text" />
					</div>
				</div>
				<div class="cell">
					<label>分公司：</label>
					<div class="cnt-box">
						<input id="magicBranch" style="width: 250px;" type="text" />
					</div>
				</div>
			</div>
                <div class="column">
                    <div class="cell">
                        <label>门店：</label>
                        <div class="cnt-box">
                            <input id="magicStore"  style="width:250px;" type="text"/>
                        </div>
                    </div>
                    <div class="cell">
                        <label>是否入库：</label>
                        <select ms-duplex="isInStorage">
                            <option value="">全部</option>
                            <option value="1">是</option>
                            <option value="0">否</option>
                        </select>
                        <button class="u-btn small" ms-click="search" ms-class="dis:!regionCode">查询</button>
                    </div>
                </div>
            </div>
            <div class="export">
                <button class="u-btn small" ms-class="dis:dataLen==0" ms-click="exportPop()">导出</button>    
            </div>
            <div id="exptTable" ms-controller="exptTable"></div>
            <script type="avalon" id="tableSaleExpt">
                <div class="tableWrapper">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>品类</th>
                                <th>品牌</th>
                                <th>商品编码</th>
                                <th>商品名称</th>
                                <th>库位</th>
                                <th>样机属性</th>
                                <th>盘点数量</th>
                                <th>库存数量</th>
                                <th>是否入库</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ms-repeat-row="sources">
                                <td>{{row.categoryName}}</td>
                                <td>{{row.brandName}}</td>
                                <td>{{row.commCode}}</td>
                                <td>{{row.commName}}</td>
                                <td>{{row.storage}}</td>
                                <td>{{row.modelProperty}}</td>
                                <td>{{row.modelCount}}</td>
                                <td>{{row.stockCount}}</td>
                                <td>{{row.isInStorage==0?"否":"是"}}</td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="10">
                                    <div class="pager">
                                        <div class="first-page" ms-click="firstpage" ms-class={{firstpagestyle}}>首页</div>
                                        <div class="pre-page" ms-click="prepage" ms-class={{prepagestyle}}>上一页</div>
                                        <div class="current-page">
                                            第<input class="current-page-num" type="text" ms-duplex="currentpage" ms-input="jumppage" />页
                                            <span class="totalpage">共 {{totalpage}} 页</span>
                                        </div>
                                        <div class="next-page" ms-click="nextpage" ms-class={{nextpagestyle}}>下一页</div>
                                        <div class="last-page" ms-click="lastpage" ms-class={{lastpagestyle}}>尾页</div>
                                        <div class="messageinfo">{{startrow}}-{{endrow}} 共{{total}}条</div>
                                    </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </script>
        </div>
        <!--弹框区域-->
        <div ms-controller="popController">
            <div class="u-popup export-pop" id="popup_cnt">
                <div class="bg"></div>
                <div class="asTable-box">
                    <div class="asTable">
                        <div class="asTableCell">
                            <div class="asCell dialog">
                                <a href="javascript:;" class="close btn-close">×</a>
                                <p class="title">选择导出</p>
                                <div class="container">
                                    <div ms-repeat-number="exportCountList" class="e-number" ms-class="sel:$index==0" ms-click="selCount()">
                                        <img src="css/images/export-icon.png">
                                        <p>{{number}}</p>
                                        <div class="sel-icon"></div>
                                    </div>
                                </div>
                                <div class="btn-box">
                                    <button class="u-btn" ms-click="exportList()">确定</button>
                                    <button class="u-btn gray btn-close">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="loadData"></div>
        <script src="js/jquery.min.js"></script>
        <script src="js/avalon.shim.sn.js"></script>
        <script src="js/swift-ui-table-1.1.js"></script>
        <script src="js/magicsuggest-min.js"></script>
        <script src="js/platform.js"></script>
        <script src="js/DataInterface/DataInterface.js"></script>
        <script src="js/financeexpt-manage.js"></script>
	</body>
</html>
